<?php
/**
* A DHTML menu component for Joomla
* @version 1.6.3
* @package ngmenufree
* @copyright (C) 2005 - 2012 by Georg Lorenz
* @license Released under the terms of the GNU General Public License
**/

/** ensure this file is being included by a parent file */
defined( '_JEXEC' ) or die( 'Restricted access' );


// Include the syndicate functions only once
require_once dirname(__FILE__).'/mod_ngmenu/helper.php';
require_once dirname(__FILE__).'/mod_ngmenu/menu.class.php';
	
$menu = new ngmenu($module);

if($menu->menu){
	$menu->create();
}else{
	echo JText::_("NGMENU FREE :: There is a configuration problem which mustn't happen. If you deleted some module entries manually, then you should recover them by opening the corresponding menu configuration in the component and save it.");
}	

?>
